package com.example.port.exception;

public class ServiceException extends RuntimeException {
    
    private String code;
    
    public ServiceException(String message) {
        super(message);
        this.code = "500";
    }
    
    public ServiceException(String code, String message) {
        super(message);
        this.code = code;
    }
    
    public ServiceException(String message, Throwable cause) {
        super(message, cause);
    }
} 
